function toast(delay) {
    var div=document.createElement("div")
    div.innerHTML='<div class="mask_transparent"></div> ' +
        '<div class="toast"> ' +
        '<i class="icon-success-no-circle icon_toast"></i> ' +
        '<p class="toast__content">已完成</p> ' +
        '</div>'
    document.body.appendChild(div);
    setTimeout(function () {
        document.body.removeChild(div);
    },delay)
}

function loadToast(delay) {
    var div=document.createElement("div")
    div.innerHTML='<div class="mask_transparent"></div> ' +
        '<div class="toast"> ' +
        '<i class="loading icon_toast "></i>' +
        '<p class="toast__content">数据加载中</p> ' +
        '</div>'
    document.body.appendChild(div);
    setTimeout(function () {
        document.body.removeChild(div);
    },delay)
}